//
//  CJYCSwitchView.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/6/13.
//  Copyright © 2019 SanYi. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^UpBlock)(void);
typedef void(^DownBlock)(void);

@interface CJYCSwitchView : UIView
@property (weak, nonatomic) IBOutlet UIView *lineView;
@property (weak, nonatomic) IBOutlet UIButton *LeftButton;
@property (weak, nonatomic) IBOutlet UIButton *RightButton;
@property (strong, nonatomic) UpBlock upBlock;
@property (strong, nonatomic) DownBlock downBlock;

@end

NS_ASSUME_NONNULL_END
